namespace RebelStar.Engine.Sprites
{
    public class UnitSprite : SpriteBase
    {
        private readonly int height, width;

        public UnitSprite(string assetName, int statesHoriz, int statesVert)
            : this(assetName, statesHoriz, statesVert, TerrainSprite.HEIGHT, TerrainSprite.WIDTH)
        {}
        public UnitSprite(string assetName, int statesHoriz, int statesVert, int width, int height)
            : this(assetName, statesHoriz, statesVert, height, width, 0)
        {}
        public UnitSprite(string assetName, int statesHoriz, int statesVert, int width, int height, int borderWidth)
            : base(assetName, statesHoriz, statesVert, borderWidth)
        {
            this.height = height;
            this.width = width;
        }

        public override int Width
        {
            get { return width; }
        }
        public override int Height
        {
            get { return height; }
        }
    }
}